package com.ticket.dao.impl;

import com.ticket.dao.DramaDao;
import com.ticket.entity.Drama;
import com.ticket.util.Page;

import java.util.List;

/**
 * @author twj
 * @version 8.0
 * @description TODO
 * @date 2023/10/7
 */
public class DramaDaoImpl {
    public List<Drama> selDramaPage(Page page, Drama drama) {
        return null;
    }
    //CommonDao dao = new CommonDao();
    /**
    * @author TanWenJie
    * @description TODO 分页查询话剧表
    * @date 2023/10/7 10:42
     * @param page
    * @return org.t69.auction.Page<com.ticket.entity.Drama>
    */
//    @Override
//    public Page<Drama> selDrama(Page page, Drama drama) {
//        Page<Drama> dramaPage = new Page(page.getPageSize(), page.getCurrPageNo());
//        String countsql = "select count(1) from stage";
//        String datasql = "select stage_id as stageId ,activity_name as activityName,showTime," +
//                "detailsAddress,price_range as priceRange,stage_status as stageStatus from stage where stage_detailClassify_id " +
//                "in(SELECT stage_detailClassify_id  FROM stage_detailclassify  " +
//                "WHERE stage_classify_id=1) ";
//        try {
//            //dramaPage = dao.exeQueryPage(Drama.class,page,countsql,datasql,drama);
//        } catch (Exception e) {
//            System.out.println("分页查询话剧异常");
//        }
//        return dramaPage;
//    }
}
